Appendix C - Error Messages
This appendix lists error numbers and error messages for the following types of errors:
For errors returned by an application, see the documentation for that application.
- Operating System errors are errors that occur when AppleScript or an application requests services from the Operating System. They are rare, and more important, there's usually nothing you can do about them in a script. A few, such as
"File <name>wasn't found"
and"Application isn't running"
, make sense for scripts to handle.- Apple event errors occur when Apple events sent by AppleScript fail. Many of these errors, such as
"No user interaction allowed"
, are of interest to users. Also of interest to users are errors that have to do with reference forms, as well as errors like"No such object"
.- Apple Event Registry errors are errors returned by applications when handling standard AppleScript commands (commands that apply to
all applications). Many of these, such as"The specified object is
, are of interest to users and should
a property, not an element"
be handled.- AppleScript errors are errors that occur when AppleScript processes script statements. Nearly all of these are of interest to users.
Appendix Contents
- Operating System Errors
- Apple Event Errors
- Apple Event Registry Errors
- AppleScript Errors